import React from 'react';
import { Text, View } from "react-native";
import { styles } from '../../_common/style';

//盈利预测信息
export const ProfitSection = (props) => {
	const { data } = props;
	return (
		data && data.length ?
			<View style={styles.profitView}>
				{
					data.map((item, index) => {
						return <Text key={index} style={styles.profitText}>{item}</Text>
					})
				}
			</View>
			: null
	)
}